<template>
  
</template>

<script setup>
import { onMounted,getCurrentInstance } from "vue";

  const {proxy} = getCurrentInstance();

  const businessList = ref([]);

  const getAllBusiness = ()=>{
    proxy.$axios({
      method: 'post',
      url:'/business/all',
      data: {
        pageNow: 1,
        pageCount: 3,
        businessName: "羊肉",
        businessAddress: "新乡"
      }
    }).then(res=>{
        let resultBean = res.data;
        if(resultBean.code == 200){
          businessList.value = resultBean.data;
        }
    })
  }


  onMounted(()=>{

  })

</script>
